package com.ydcycloud.variety.dao;

import java.util.List;
import java.util.Map;

import com.smart.mvc.dao.hibernate.Dao;
import com.smart.mvc.model.Pagination;
import com.ydcycloud.variety.model.SlideShow;


public interface SlideShowDao extends Dao<SlideShow, Integer> {

	/**
	 * 获取轮播图
	 * */
	List<Map<String, Object>> getSlideShow();

	
	Pagination<Map<String, Object>> getSildeShow(Integer pageNo,
			Integer pageSize);

	/**
	 * 删除轮播图
	 * @param ids
	 */
	void deleteByIds(String ids);


}
